Custom Printer Library  1.17
ccw_Status.h File Reference

Data and parameters definition. More...

#include "ccw_Types.h"
#include "WinTypes.h"
#include <wchar.h>

Go to the source code of this file.

Data Structures

struct  PrinterStatusStruct
 

Functions

static void PrinterStatusStructToText (PrinterStatusStruct *pStatus, wchar_t *szBufferOut, DWORD dwBuffCharSize)
 

Detailed Description

Data and parameters definition.

Function Documentation

◆ PrinterStatusStructToText()

static void PrinterStatusStructToText ( PrinterStatusStruct pStatus,
wchar_t *  szBufferOut,
DWORD  dwBuffCharSize 
)
static

Convert status indicated by *pStatus to an wchar_t string.

Parameters
[in]pStatusPointer to PrinterStatusStruct which contains the current status
[out]szBufferOutPointer to a null-terminated char buffer containing a text description for the status. The buffer must be allocated by the calling process
[in]dwBuffCharSizesize of the text buffer